package com.xxdh.service;

import com.xxdh.domain.po.UserNoticeRelation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 公告关系表 服务类
 * </p>
 *
 * @author zwg
 * @since 2024-10-19
 */
public interface IUserNoticeRelationService extends IService<UserNoticeRelation> {


    void saveNoticeRelationByTeacherIdAndNoticeId(Long teacherId, Long noticeId);

    void removeByNoticeId(String noticeId);

    List<UserNoticeRelation> getUserNoticeRelationListByUserId(Long useId);

    void updateNoticeStatusByUserIdAndNoticeId(Long userId,Long noticeId);
}
